package org.xlx.xlx_oa.utils;

public class EnumsUtil {
    public static Enum getTextByCode(Class<? extends Enum> clazz, String name) {
        return Enum.valueOf(clazz, name);
    }
}
